package com.woniuxy.service.Impl;

import com.woniuxy.dao.LoanApprovalDao;
import com.woniuxy.entity.BeforeQueryData;
import com.woniuxy.entity.UserYewuDate;
import com.woniuxy.service.LoanApprovalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @description: TODO 贷中
 * @author jx
 * @date 2022/9/22 15:59
 * @version 1.0
 */
@Service
public class LoanApprovalServiceImpl implements LoanApprovalService {
    @Autowired
    LoanApprovalDao loanApprovalDao;



    @Override
    public List<UserYewuDate> selectLoanApprovalList() {

        List<UserYewuDate> list = loanApprovalDao.selectLoanApprovalList();
        System.out.println("打印列表"+list);
        return list;
    }

    @Override
    public List<UserYewuDate> queryByCondition(BeforeQueryData datas) {
        List<UserYewuDate> list = loanApprovalDao.queryByCondition(datas);
        System.out.println("动态查询列表"+list);
        return list;
    }

    @Override
    public List<UserYewuDate> selectLoanDealList() {
        List<UserYewuDate> list = loanApprovalDao.selectLoanDealList();
        System.out.println("打印列表"+list);
        return list;
    }

    @Override
    public List<UserYewuDate> loanDealQuery(BeforeQueryData datas) {
        List<UserYewuDate> list = loanApprovalDao.loanDealQuery();
        System.out.println("动态查询列表"+list);
        return list;
    }


}
